﻿package Framework.MQ
{
    import Framework.Serialize.*;

    public class HandlerId extends Object
    {
        public var type:int;
        public var typeEx:int;
        public var typeEx2:int;
        public var id:int;

        public function HandlerId()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeByte(this.type);
            param1.writeShort(this.typeEx);
            param1.writeByte(this.typeEx2);
            param1.writeInt(this.id);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.type = param1.readByte();
            this.typeEx = param1.readShort();
            this.typeEx2 = param1.readByte();
            this.id = param1.readInt();
            return;
        }// end function

    }
}
